<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  <link rel="stylesheet" href="mocha.css"/>
  <title>Example Mocha Test</title>
</head>
<body>
  <!-- Required for browser reporter -->
  <div id="mocha"></div>

  <!-- mocha -->
  <script src="js/mocha.js" type="text/javascript" ></script>
  <script type="text/javascript" >
    // This will be overridden by mocha-helper if you run with grunt
    mocha.setup('tdd');
    mocha.reporter('html');
  </script>

  <!-- Include your assertion lib of choice -->
  <script src="js/chai.js" type="text/javascript" ></script>
  <script src="js/bind.js" type="text/javascript" ></script>
  <script src="js/testRender.js" type="text/javascript" ></script>
  <script type="text/javascript" >
    // Setup chai
    var expect = chai.expect;
    var assert = chai.assert;
  </script>

  <!-- Include anything you want to test -->
  <script src="../lib/p5.js" type="text/javascript" ></script>

  <!-- Spec files -->
  <script src="unit/objects/p5.Vector.js" type="text/javascript" ></script>
  <script src="unit/objects/p5.Color.js" type="text/javascript" ></script>
  <script src="unit/core/core.js" type="text/javascript" ></script>
  <script src="unit/data/array_functions.js" type="text/javascript" ></script>
  <script src="unit/math/calculation.js" type="text/javascript" ></script>
  <script src="unit/math/random.js" type="text/javascript" ></script>
  <script src="unit/math/noise.js" type="text/javascript" ></script>
  <script src="unit/math/trigonometry.js" type="text/javascript" ></script>
  <!--<script src="unit/shape/2d_primitives.js" type="text/javascript" ></script>-->
  <script src="unit/shape/curves.js" type="text/javascript" ></script>
  <script src="unit/input/files.js" type="text/javascript" ></script>
  <script src="unit/input/time_date.js" type="text/javascript" ></script>
  <script src="unit/color/setting.js" type="text/javascript" ></script>
  <script src="unit/color/creating_reading.js" type="text/javascript" ></script>
  <script src="unit/image/loading.js" type="text/javascript" ></script>
  <script src="unit/utils/color_utils.js" type="text/javascript" ></script>

  <!-- run mocha -->
  <script type="text/javascript" >
    // If tests run in a real browser
    // Can alternatively do a check on window.PHANTOMJS
    if (navigator.userAgent.indexOf('PhantomJS') < 0) {
        mocha.run();
    }
  </script>
</body>
</html>
